Skip to content

Adding support for case sensitive regex syntax in MySQL valid email queries #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

bhaktichokshi
Copy link
Contributor

LeetCode 1517 requires a case-sensitive solution. REGEXP matches case insensitively.
According to MySQL 8.0 Reference (https://dev.mysql.com/doc/refman/8.0/en/regexp.html#function_regexp-like), REGEXP_LIKE with an optional argument can be passed to match case sensitively.

FYI,
LeetCode 1517 does not allow the case-insensitive solution to pass the test cases.

@bhaktichokshi bhaktichokshi changed the title Adding support case sensitive regex syntax in MySQL valid email queries Adding support for case sensitive regex syntax in MySQL valid email queries Jul 10, 2025
@kamyu104 kamyu104 merged commit f007319 into kamyu104:master Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants